

import request from "@/utils/request"
import { Qs } from "@/utils/tool"

//路线信息
export function routeList() {
    return request.get('HQ_ZHSY_API/screen/getRoutes')
}
// 根据路线获取清运商铺
export function cleanByRoute(params) {
    return request.get('HQ_ZHSY_API/platform/getCleanInfoByRoute?' + Qs(params))
}


// 获取全部车辆最后的gps定位
export function vehicleGps() {
    return request.get("HQ_ZHSY_API/clean/getVehicleGps");
}

// 获取当前车辆的轨迹
export function vehicleHistory(params) {
    return request.get("HQ_ZHSY_API/clean/getVehicleHistory?" + Qs(params));
}